[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
YESNO
Function
Set the international yes/no response flag in an INPUTSTR or PROMPTSTR
statement.
Value
16384 = 100000000000000b = 40000o = 4000h
Remarks
The INPUTSTR and PROMPTSTR statements have the ability to allow a yes/no
response to be entered in addition to any valid characters passed to the
statement. The extra characters allowed are Y/N (or whatever characters
were defined for the current language; spanish would use S/N, french
would use O/N, etc). Note that you do not need to pass any valid
characters to use this flag; regardless of the other legal characters
the international Y/N characters will be allowed.
Example
STRING ans
LET ans = NOCHAR()
INPUTSTR "Run program now",ans,@X0E,1,"",AUTO+YESNO
IF (ans = NOCHAR()) END
See Also:
INPUTSTR
NOCHAR()
PROMPTSTR
YESCHAR()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson